package com.j283_5.wisdom_park.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public class AdminRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增Id
     */
    @TableId(value = "admin_role_id", type = IdType.AUTO)
    private Integer adminRoleId;

    /**
     * 权限Code码
     */
    private Integer adminRoleCode;

    /**
     * 权限名
     */
    private String adminRoleName;


    public Integer getAdminRoleId() {
        return adminRoleId;
    }

    public void setAdminRoleId(Integer adminRoleId) {
        this.adminRoleId = adminRoleId;
    }

    public Integer getAdminRoleCode() {
        return adminRoleCode;
    }

    public void setAdminRoleCode(Integer adminRoleCode) {
        this.adminRoleCode = adminRoleCode;
    }

    public String getAdminRoleName() {
        return adminRoleName;
    }

    public void setAdminRoleName(String adminRoleName) {
        this.adminRoleName = adminRoleName;
    }

    @Override
    public String toString() {
        return "AdminRole{" +
        "adminRoleId=" + adminRoleId +
        ", adminRoleCode=" + adminRoleCode +
        ", adminRoleName=" + adminRoleName +
        "}";
    }
}
